body {
  user-select: none;
  background-color: #f0f0f0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;
  margin: 0;
  padding: 0;
}

.ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
  min-height: 400px;
  max-height: 700px;
  overflow-x: hidden;
  overflow-y: auto;
  max-width: 600px;
  margin: 20px auto;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.ul::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 5px;
}

.ul::-webkit-scrollbar {
  width: 4px;
}

.ul .li {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
}

.ul .li:last-child {
  border-bottom: none;
}

.ul .li input[type="checkbox"] {
  margin-right: 10px;
}

.li-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text {
  background: linear-gradient(90deg, #333, #333, #333) no-repeat right center;
  background-size: 0% 2px;
  transition: background-size 0.5s;
}

.text.completed {
  background-position: left center;
  background-size: 100% 2px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* height: 100vh; */
  background-color: #f0f0f0;
  font-family: Arial, sans-serif;
  color: #333;
}

.add-todo {
  display: flex;
  width: 100%;
  max-width: 600px;
  margin-bottom: 20px;
  justify-content: space-between;
  align-items: center;
}

.add-btn {
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
}

.add-btn:hover {
  background-color: #45a049;
}

.add-input {
  width: 300px;
  padding: 10px 20px;
  margin: 8px 10px 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  font-size: 16px;
  flex: 1;
}

.add-input:focus {
  outline: none;
  border-color: #4caf50;
}

.filter__btn {
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px;
  cursor: pointer;
  border-radius: 4px;
}

.filter__btn:hover {
  background-color: #45a049;
}
